Following is the step to run iSER on Ubuntu;
1.on the original system:
cd ChelsioUwire-2.11.0.0
make iwarp_install

2 compile the kernel
git://kernel.ubuntu.com/ubuntu/ubuntu-trusty.git
git checkout Ubuntu-3.13.0-43.72

apply the patch:
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.h b/drivers/infiniband/ulp/iser/iscsi_iser.h
index 97cd385..2005687 100644
--- a/drivers/infiniband/ulp/iser/iscsi_iser.h
+++ b/drivers/infiniband/ulp/iser/iscsi_iser.h
@@ -103,8 +103,8 @@
#define MASK_4K        (~(SIZE_4K-1))

                                        /* support up to 512KB in one RDMA */
-#define ISCSI_ISER_SG_TABLESIZE         (0x80000 >> SHIFT_4K)
-#define ISER_DEF_XMIT_CMDS_DEFAULT             512
+#define ISCSI_ISER_SG_TABLESIZE         (65536 >> SHIFT_4K)
+#define ISER_DEF_XMIT_CMDS_DEFAULT             64
#if ISCSI_DEF_XMIT_CMDS_MAX > ISER_DEF_XMIT_CMDS_DEFAULT
        #define ISER_DEF_XMIT_CMDS_MAX          ISCSI_DEF_XMIT_CMDS_MAX
#else

cp /boot/config-3.13.0-32-generic .config
make menuconfig
make clean && make -j 8 bzImage && make -j 8 modules && make modules_install && make install

cd ChelsioUwire-2.11.0.0
make clean
make iwarp
cp build/src/network/cxgb4/cxgb4.ko /lib/modules/3.13.11.11+/kernel/drivers/net/ethernet/chelsio/cxgb4/cxgb4.ko
cp build/src/network/iw_cxgb4/iw_cxgb4.ko /lib/modules/3.13.11.11+/kernel/drivers/infiniband/hw/cxgb4/iw_cxgb4.ko


3. server side run:
rmmod cxgb4
modprobe cxgb4
modprobe iw_cxgb4 mpa_rev=2
modprobe rdma_ucm
ifconfig eth4 3.1.1.1/24
iwpmd
mount -t tmpfs -o size=8g tmpfs /ramdisk
dd if=/dev/zero of=/ramdisk/test.img bs=4096 count=500000
tgtd
tgt-setup-lun -n tg0 -d /ramdisk/test.img -b rdwr -t iser

4 client side run:
rmmod cxgb4
modprobe cxgb4
modprobe iw_cxgb4 mpa_rev=2
modprobe rdma_ucm
ifconfig eth3 3.1.1.2/24
sleep 2
iwpmd
iscsid
iscsiadm -m discovery -t st -p 3.1.1.1:3260 -I iser --login

